package run.siyuan.jdk.测试;

import cn.hutool.core.util.StrUtil;
import cn.hutool.extra.emoji.EmojiUtil;

/**
 * @className: EmojiFilter
 * @Description: TODO 过滤表情
 * @author: siyuan
 * @date: 2022/6/7 10:20 AM
 */
public class EmojiFilter {


    public static void main(String[] args) {
        String[] fullNameArr =
                {
                        "143472", "4289ShopDD", "183218 ปิง 0926353162", "108471 จุรีรัตน์ 0879198525", "1000art", "963creation", "849459", "2PPShop", "5tma37878 Don", "123happy", "2POS", "0890179258", "426 รุ่งฤดี 159", "1989'",
                        "360🌍🌏", "7centuryNail", "0804593601", "24_Nuttawut", "7777", "0959571483", "8PIYAWONG", "18417", "294 artstudio", "8☎️tan", "8", "11498", "267 shop", "789ShoppingMall", "99shop", "117983",
                        "24579", "123 kung นะจ๊ะ", "923430164", "44771", "0955011880", "24.7STORE", "123", "20 กัลยาณี ภาคสังข์", "49Shops", "0987544496", "0909313629", "4289♻️Youpik♻️6395", "0869891693", "404 not found", "18up.Frame",
                        "448V3ณัฐกมล谭光华", "0655906245", "8179", "436241101มอส", "6U6IF6R"
                };
        for (String s : fullNameArr) {
            System.out.println(EmojiUtil.removeAllEmojis(s));
        }
    }
}
